home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / primcuts.zip / OS!2 Development Guidelines.text < prev    next >
Text File  |  2000-08-26  |  736b  |  24 lines

  1.  
  2.  
  3.    Some general OS/2 guidelines
  4.    ============================
  5.    * If you don't have any portability demands, use the OS/2 API as much as
  6.      possible since it's what this archive is all about.
  7.  
  8.  
  9.    PM guidelines
  10.    =============
  11.    * Never intercept any messages you don't really, really need to handle. A
  12.      good rule is to pass as much as possible on to WinDefWindowProc() or the
  13.      old procedure (when writing a subclass procedure).
  14.    * Keep only one window procedure in each source file, and declate the
  15.      functions associated with it as static.
  16.  
  17.  
  18.    WPS guidelines
  19.    ==============
  20.    * Do not override more methods than you really, really must override. Keep
  21.      it as simple as possible.
  22.  
  23.  
  24.